package com.nulldev.util.networking.npacket4.extensions.protocol.mux;

import java.io.IOException;
import java.io.InputStream;

import com.nulldev.util.networking.npacket4.extensions.PacketExtension;
import com.nulldev.util.networking.npacket4.extensions.PacketExtensions.PacketExtensionID;

public class MuxedStreamPacketExtension implements PacketExtension {

	private static final long serialVersionUID = 2214006210430361631L;
	private MuxedStreamType st;

	public MuxedStreamPacketExtension() {
		this.st = MuxedStreamType.READ_AND_WRITE;
	}

	public MuxedStreamPacketExtension(final MuxedStreamType st) {
		this.st = st;
	}

	public MuxedStreamType getStreamType() {
		return this.st;
	}

	@Override
	public int extensionID() {
		return PacketExtensionID.EXT_MUX_PACKET_STREAM_SEGMENT;
	}

	@Override
	public byte[] extensionData() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public byte[] processData(byte[] data) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PacketExtension readExtensionData(InputStream dis) throws IOException {
		// TODO Auto-generated method stub
		return null;
	}

}
